package com.xc.question.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xc.question.entity.SysQuestion;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author: 星川
 * @Date: 2023/04/12/16:18
 * @Description:
 */
@Service
public interface SysQuestionService extends IService<SysQuestion> {
    //获取首页列表
    IPage<SysQuestion> getList(IPage<SysQuestion> page);
    //我的问卷列表
    IPage<SysQuestion> getMyQuestionList(IPage<SysQuestion> page , @RequestParam("openid") String openid);
    //查询问卷回显列表
    SysQuestion getMyPaperList(Long questionId,String openid);
}
